home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_01
/
2n01075a
< prev
next >
Wrap
Text File
|
1990-11-26
|
520b
|
24 lines
void ScrCursorHide(void)
{
if (CursorHidden) return;
/* save the current cursor position */
regs.h.ah = 3;
regs.h.bh = VideoPage; /* VideoPage is a char variable '/
int86(0xlO, ®s, ®s);
CursorPos = regs.x.dx;
/* make cursor disappear */
regs.h.ah = 3;
regs.h.bh = VideoPage;
regs.x.dx = Oxl900; /* postion (x,y) = (0, 25) */
int86(0xlO, ®s, ®s);
CursorHidden = l;
}